package cn.com.dcsgo.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * 地址实体类
 */
@Data
@TableName(value = "area")
@Schema(description = "地址实体类")
public class Area {
    /**
     * 区域ID
     */
    @TableId(type = IdType.AUTO)
    @Schema(description = "区域ID")
    private Long areaId;

    /**
     * 区域名
     */
    @Schema(description = "区域名")
    private String areaName;

    /**
     * 父区域ID
     */
    @Schema(description = "父区域ID")
    private Long parentId;

    /**
     * 区域级别
     */
    @Schema(description = "区域级别")
    private Integer level;
}
